package com.icinfo.wanandroid.utils;

import com.orhanobut.logger.Logger;

/**
 * Author: 胡高建
 * Comment: //TODO
 * Date: 2019-07-24 10:50
 */
public class LogHelper {
    public synchronized static void e(String msg) {
        StackTraceElement traceElement = ((new Exception()).getStackTrace())[1];
        String toStirngBuffer = "[" + traceElement.getFileName() + " | " + traceElement.getLineNumber()
                + " | " + traceElement.getMethodName() + "]" + msg;
        Logger.t("PEGASILOG").e(toStirngBuffer);
    }
}
